#include <stdio.h>
#include <unistd.h>

int main()
{
    char* argv[10] = {NULL};
    argv[0] = "/usr/bin/ls";
    argv[1] = "-al";
    argv[2] = NULL;
    extern char** environ;
    execve("/usr/bin/ls",argv,environ);
    perror("exec faild\n");
    return 0;
}
